package com.tencent.wxcloudrun.view;

public class BaseVO {
    private String code;  //处理成功或者失败的标记 "0000"成功   "9999"失败
    private String message;  //响应结果的提示信息提示信息
    private Object returnData; //返回的其他数据

    public BaseVO() {
    }

    public BaseVO(String code) {
        this.code = code;
    }

    public BaseVO(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public BaseVO(String code, String message, Object returnData) {
        this.code = code;
        this.message = message;
        this.returnData = returnData;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getReturnData() {
        return returnData;
    }

    public void setReturnData(Object returnData) {
        this.returnData = returnData;
    }

    @Override
    public String toString() {
        return "BaseVO{" +
                "code='" + code + '\'' +
                ", message='" + message + '\'' +
                ", returnData=" + returnData +
                '}';
    }
}
